翻訳と辞書
Words near each other
・ Two-section staff
・ Two-Seed-in-the-Spirit Predestinarian Baptists
・ Two-Shade
・ Two-Sided Fahrenheit
・ Two-sided Laplace transform
・ Two-sided market
・ Two-source hypothesis
・ Two-spaded narrow-mouthed toad
・ Two-spined blackfish
・ Two-Spirit
・ Two-Spirit identity theory
・ Two-spot lizardfish
・ Two-spot red snapper
・ Two-spotted bumble bee
・ Two-spotted goby
Two-square cipher
・ Two-stage theory
・ Two-stage-to-orbit
・ Two-star rank
・ Two-Star Tabernacle
・ Two-state
・ Two-state quantum system
・ Two-state solution
・ Two-state trajectory
・ Two-state vector formalism
・ Two-step
・ Two-step (dance move)
・ Two-step floating catchment area method
・ Two-step flow of communication
・ Two-step M-estimators involving MLE


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Two-square cipher : ウィキペディア英語版
Two-square cipher

The Two-square cipher, also called double Playfair, is a manual symmetric encryption technique. It was developed to ease the cumbersome nature of the large encryption/decryption matrix used in the four-square cipher while still being slightly stronger than the (single-square) Playfair cipher.
The technique encrypts pairs of letters (''digraphs''), and thus falls into a category of ciphers known as polygraphic substitution ciphers. This adds significant strength to the encryption when compared with monographic substitution ciphers which operate on single characters. The use of digraphs makes the two-square technique less susceptible to frequency analysis attacks, as the analysis must be done on 676 possible digraphs rather than just 26 for monographic substitution. The frequency analysis of digraphs is possible, but considerably more difficult - and it generally requires a much larger ciphertext in order to be useful.
== Using two-square ==

The two-square cipher comes in two varieties - horizontal and vertical. The vertical two-square uses two 5 by 5 matrices one above the other. The horizontal two-square has the two 5 by 5 matrices side by side. Each of the 5 by 5 matrices contains the letters of the alphabet (usually omitting "Q" or putting both "I" and "J" in the same location to reduce the alphabet to fit). The alphabets in both squares are generally mixed alphabets, each based on some keyword or phrase.
To generate the 5 by 5 matrices, one would first fill in the spaces in the matrix with the letters of a keyword or phrase (dropping any duplicate letters), then fill the remaining spaces with the rest of the letters of the alphabet in order (again omitting "Q" to reduce the alphabet to fit). The key can be written in the top rows of the table, from left to right, or in some other pattern, such as a spiral beginning in the upper-left-hand corner and ending in the center. The keyword together with the conventions for filling in the 5 by 5 table constitute the cipher key. The two-square algorithm allows for two separate keys, one for each matrix.
As an example, here are the vertical two-square matrices for the keywords "example" and "keyword:"
E X A M P
L B C D F
G H I J K
N O R S T
U V W Y Z
 
K E Y W O
R D A B C
F G H I J
L M N P S
T U V X Z

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Two-square cipher」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.